//
//  RecordTool.h
//  cascade-realm
//
//  Created by QSC on 3/6/24.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface RecordTool : NSObject
+ (instancetype)shared;

+ (void)startRecord;

+ (void)stopRecord;

- (void)playUrl:(NSURL *)url finishBlock:(void(^)(void))playFinishBlock;

- (void)stopPlay;
@property(nonatomic,assign)NSInteger recordTime;
@property(nonatomic,copy)NSString * path;
@end

NS_ASSUME_NONNULL_END
